package edu.fiap.model.persistence.dao.oracle;

import edu.fiap.model.persistence.ProjectConnection;
import edu.fiap.model.persistence.dao.AdvogadoDAO;
import edu.fiap.model.persistence.dao.ClienteDAO;
import edu.fiap.model.persistence.dao.DAOFactory;
import edu.fiap.model.persistence.dao.HoraAdvogadoDAO;
import edu.fiap.model.persistence.dao.ProcessoDAO;
import edu.fiap.model.persistence.dao.ProcessosRelacionadosDAO;
import edu.fiap.model.persistence.dao.TipoCausaDAO;
import edu.fiap.model.persistence.dao.TipoCobrancaDAO;
import edu.fiap.model.persistence.dao.TituloDAO;
import edu.fiap.model.persistence.dao.TituloPagoDAO;

public class OracleDAOFactory extends DAOFactory{

	
	public ProcessoDAO getProcessoDAO() {
		return new ProcessoOracleDAO(ProjectConnection.getConnection());
	}
	
	public ClienteDAO getClienteDAO(){
		return new ClienteOracleDAO(ProjectConnection.getConnection());
	}
	
	public TituloDAO getTituloDAO(){
		return new TituloOracleDAO(ProjectConnection.getConnection());
	}
	
	public HoraAdvogadoDAO getHoraAdvogadoDAO(){
		return new HoraAdvogadoOracleDAO(ProjectConnection.getConnection());
	}
	
	public TipoCausaDAO getTipoCausaDAO(){
		return new TipoCausaOracleDAO(ProjectConnection.getConnection());
	}
	
	public TipoCobrancaDAO getTipoCobrancaDAO(){
		return new TipoCobrancaOracleDAO(ProjectConnection.getConnection());
	}
	
	public ForumOracleDAO getForumDAO(){
		return new ForumOracleDAO(ProjectConnection.getConnection());
	}
	
	public ProcessosRelacionadosDAO getProcessosRelacionadosDAO(){
		return new ProcessosRelacionadosOracleDAO(ProjectConnection.getConnection());
	}
	
	public TituloPagoDAO getTituloPagoDAO(){
		return new TituloPagoOracleDAO(ProjectConnection.getConnection());
	}
	
	public AdvogadoDAO getAdvogadoDAO(){
		return new AdvogadoOracleDAO(ProjectConnection.getConnection());
	}
}
